﻿CREATE TRIGGER [tg_Cosoware_Documents_ModificationDate]
ON [dbo].[tb_Cosoware_Documents]
FOR INSERT, UPDATE 
AS 
BEGIN
	SET NOCOUNT ON
	DECLARE @id UNIQUEIDENTIFIER
	SELECT @id = ID FROM Inserted
	UPDATE tb_Cosoware_Documents SET ModificationDate = GETDATE()
		WHERE ID = @id
END
;
